package me.muci.factoryPattern.staticFactoryMethod;

/**
 * ClassName: OperationSub <br/>
 * Description: <br/>
 * date: 2021/8/4 11:32<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public class OperationSub extends Operation{
    @Override
    protected double getResults() {
        return getValue1() - getValue2();
    }
}
